﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
    2012-2-17 David检查正常
 */

namespace Benefit.Models.Config
{
    /// <summary>
    /// 系统默认值
    /// </summary>
    public class DefaultValue
    {
        /// <summary>
        /// 默认超出止损的TICK数量
        /// </summary>
        public int OverLostTick { get; set; }
        /// <summary>
        /// 交易员每一批次间隔的天数
        /// </summary>
        public int BatchBetween { get; set; }

        ///// <summary>
        ///// 默认超出止损的TICK数量
        ///// </summary>
        //public static readonly int OverLostTick = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["OverLostTick"]) == 0 ? 10 : Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["OverLostTick"]);
        ///// <summary>
        ///// 交易员每一批次间隔的天数
        ///// </summary>
        //public static readonly int BatchBetween = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["BatchBetween"]) == 0 ? 30 : Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["BatchBetween"]);
    }
}
